#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2022/1/17 15:05
    Desc  :
--------------------------------------
"""
from apps import AbstractBaseModel
from django.db import models


class CaseModule(AbstractBaseModel):

    name = models.CharField(max_length = 255, help_text = '模块名称')
    parent = models.IntegerField( null = True, blank = True, help_text = '父级模块id')
    project = models.IntegerField(null = True, blank = True, help_text = '所属项目')

    class Meta:
        verbose_name = '用例模块'
        verbose_name_plural = verbose_name
        db_table = 'tCaseModule'
        ordering = ['-createTime']
